home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
MZK2H.M3
< prev
next >
Wrap
Text File
|
1996-04-01
|
4KB
|
155 lines
name Mazak M2 Baxis (Tombstone on Horizontal Mill 1 Degree Indexing)
O >4
N >4
B ->3 Limit -360 360
G >2
g >2 G
X ->3.>4
Y ->3.>4
Z ->3.>4
I ->3.>4
J ->3.>4
Q ->3.>4
R ->3.>4
P ->3.>4
F >3.>4
K ->3.>4
H >2
D >2
T >2
M >2
S >4
E >3.>4
( 00
) 00
b 00
- 00
u >3.>4
w >3.>4
% 00
ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
Sequence#s N 0 1 1 # Char, freq, incr & start
HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.
comment ( ) # Begin End comment char.
Spaces? Y # Y or N 'Spaces between words
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants
Inc/Abs G 91 90 # Inc & Abs char. & values
CtrCode I J # I J or R or I J K L
Helical? Y
Feed G1 # Linear move
Rapid G0 # Rapid positioning word
Cw G2 # Circular move clockwise
Ccw G3 # Circular move counter clockwise
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill # Drilling canned/manual cycle
G98 G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel
Peck # Pecking canned/manual cycle
G98 G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
end cancel
Tap # Tapping canned/manual cycle
G98 G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel
LTap # Left handed tapping cycle
G98 G74 X[H] Y[V] Z[D] R[Vclear] F[FRate] P[Dwell]
end cancel
Ream # Reaming canned/manual cycle
G98 G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel
Bore # Boring canned/manual cycle
G98 G86 X[H] Y[V] Z[D] R[Vclear] F[FRate] P[Dwell]
end cancel
Back # Back boring canned/manual cycle
G98 G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel
Cancel # Cancel a canned/manual cycle
G80
end
Index X # Index the rotary table
g91 G28 Z0
G28 X0 Y0
B[RotAngle]
G0 G90 G[WORK] X[H] Y[V]
Z[D] M[Cool]
End
StartCode # Start of the program
%0
O[Program#]
G0 G80 G40
End
1stToolChange # First tool change
N[Block] g91 G28 Z0 M5
G28 X0 Y0
G30 Y0 M19
T[Tool]
M6
M[val1]
B[RotAngle]
G0 G90 G[Work] X[H] Y[V] M[Direct] S[Speed]
Z[D] M[Cool] T[NextTool]
End
Infeed # Enable cutter comp
G1 Z[D] F[Plunge]
G17 G[Side] X[H] Y[V] D[DComp] F[FRate]
end
Outfeed # Disable cutter comp
G1 G40 X[H] Y[V]
Z[D]
end
ToolChange # Secondary tool changes
M9
g91 G28 Z0
G28 X0 Y0
N[Block] G30 Y0 M19
T[Tool]
M6
M[val1]
B[RotAngle]
G0 G90 G[Work] X[H] Y[V] M[Direct] S[Speed]
Z[D] M[Cool] T[NextTool]
End
EndCode # End of the program
g91 G28 Z0
G28 X0 Y0
M30
%0
End
ask [val1] " Enter spindle range or press enter for default: " "38"